<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVTypeLibrary: Interface ICoreWebView2PrintSettings</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="ICoreWebView2PrintSettings"></span><h1 class="cio">Interface ICoreWebView2PrintSettings</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVTypeLibrary.html">uWVTypeLibrary</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type ICoreWebView2PrintSettings = interface(IUnknown)</code></p>
<h2 class="description">Description</h2>
<p>
 Settings used by the PrintToPdf method. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2printsettings">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2printsettings</a>&quot;&gt;See the ICoreWebView2PrintSettings article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">IUnknown</li>
<li class="thisitem">ICoreWebView2PrintSettings</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_Orientation-COREWEBVIEW2_PRINT_ORIENTATION-">Get_Orientation</a></strong>(out Orientation: <a href="uWVTypeLibrary.html#COREWEBVIEW2_PRINT_ORIENTATION">COREWEBVIEW2_PRINT_ORIENTATION</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_Orientation-COREWEBVIEW2_PRINT_ORIENTATION-">Set_Orientation</a></strong>(Orientation: <a href="uWVTypeLibrary.html#COREWEBVIEW2_PRINT_ORIENTATION">COREWEBVIEW2_PRINT_ORIENTATION</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_ScaleFactor-Double-">Get_ScaleFactor</a></strong>(out ScaleFactor: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_ScaleFactor-Double-">Set_ScaleFactor</a></strong>(ScaleFactor: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_PageWidth-Double-">Get_PageWidth</a></strong>(out PageWidth: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_PageWidth-Double-">Set_PageWidth</a></strong>(PageWidth: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_PageHeight-Double-">Get_PageHeight</a></strong>(out PageHeight: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_PageHeight-Double-">Set_PageHeight</a></strong>(PageHeight: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_MarginTop-Double-">Get_MarginTop</a></strong>(out MarginTop: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_MarginTop-Double-">Set_MarginTop</a></strong>(MarginTop: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_MarginBottom-Double-">Get_MarginBottom</a></strong>(out MarginBottom: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_MarginBottom-Double-">Set_MarginBottom</a></strong>(MarginBottom: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_MarginLeft-Double-">Get_MarginLeft</a></strong>(out MarginLeft: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_MarginLeft-Double-">Set_MarginLeft</a></strong>(MarginLeft: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_MarginRight-Double-">Get_MarginRight</a></strong>(out MarginRight: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_MarginRight-Double-">Set_MarginRight</a></strong>(MarginRight: Double): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_ShouldPrintBackgrounds-Integer-">Get_ShouldPrintBackgrounds</a></strong>(out ShouldPrintBackgrounds: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_ShouldPrintBackgrounds-Integer-">Set_ShouldPrintBackgrounds</a></strong>(ShouldPrintBackgrounds: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_ShouldPrintSelectionOnly-Integer-">Get_ShouldPrintSelectionOnly</a></strong>(out ShouldPrintSelectionOnly: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_ShouldPrintSelectionOnly-Integer-">Set_ShouldPrintSelectionOnly</a></strong>(ShouldPrintSelectionOnly: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_ShouldPrintHeaderAndFooter-Integer-">Get_ShouldPrintHeaderAndFooter</a></strong>(out ShouldPrintHeaderAndFooter: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_ShouldPrintHeaderAndFooter-Integer-">Set_ShouldPrintHeaderAndFooter</a></strong>(ShouldPrintHeaderAndFooter: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_HeaderTitle-PWideChar-">Get_HeaderTitle</a></strong>(out HeaderTitle: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_HeaderTitle-PWideChar-">Set_HeaderTitle</a></strong>(HeaderTitle: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Get_FooterUri-PWideChar-">Get_FooterUri</a></strong>(out FooterUri: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html#Set_FooterUri-PWideChar-">Set_FooterUri</a></strong>(FooterUri: PWideChar): HResult; stdcall;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_Orientation-COREWEBVIEW2_PRINT_ORIENTATION-"></span><code>function <strong>Get_Orientation</strong>(out Orientation: <a href="uWVTypeLibrary.html#COREWEBVIEW2_PRINT_ORIENTATION">COREWEBVIEW2_PRINT_ORIENTATION</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The orientation can be portrait or landscape. The default orientation is portrait. See `COREWEBVIEW2_PRINT_ORIENTATION`. </p>
<h6 class="description_section">Attributes</h6>
<dl class="attributes">
  <dt>GUID['{377F3721-C74E-48CA-8DB1-DF68E51D60E2}']</dt>
  <dd></dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_Orientation-COREWEBVIEW2_PRINT_ORIENTATION-"></span><code>function <strong>Set_Orientation</strong>(Orientation: <a href="uWVTypeLibrary.html#COREWEBVIEW2_PRINT_ORIENTATION">COREWEBVIEW2_PRINT_ORIENTATION</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `Orientation` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_ScaleFactor-Double-"></span><code>function <strong>Get_ScaleFactor</strong>(out ScaleFactor: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The scale factor is a value between 0.1 and 2.0. The default is 1.0. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_ScaleFactor-Double-"></span><code>function <strong>Set_ScaleFactor</strong>(ScaleFactor: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `ScaleFactor` property. Returns `E_INVALIDARG` if an invalid value is provided, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_PageWidth-Double-"></span><code>function <strong>Get_PageWidth</strong>(out PageWidth: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The page width in inches. The default width is 8.5 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_PageWidth-Double-"></span><code>function <strong>Set_PageWidth</strong>(PageWidth: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `PageWidth` property. Returns `E_INVALIDARG` if the page width is less than or equal to zero, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_PageHeight-Double-"></span><code>function <strong>Get_PageHeight</strong>(out PageHeight: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The page height in inches. The default height is 11 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_PageHeight-Double-"></span><code>function <strong>Set_PageHeight</strong>(PageHeight: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `PageHeight` property. Returns `E_INVALIDARG` if the page height is less than or equal to zero, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_MarginTop-Double-"></span><code>function <strong>Get_MarginTop</strong>(out MarginTop: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The top margin in inches. The default is 1 cm, or ~0.4 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_MarginTop-Double-"></span><code>function <strong>Set_MarginTop</strong>(MarginTop: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `MarginTop` property. A margin cannot be less than zero. Returns `E_INVALIDARG` if an invalid value is provided, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_MarginBottom-Double-"></span><code>function <strong>Get_MarginBottom</strong>(out MarginBottom: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The bottom margin in inches. The default is 1 cm, or ~0.4 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_MarginBottom-Double-"></span><code>function <strong>Set_MarginBottom</strong>(MarginBottom: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `MarginBottom` property. A margin cannot be less than zero. Returns `E_INVALIDARG` if an invalid value is provided, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_MarginLeft-Double-"></span><code>function <strong>Get_MarginLeft</strong>(out MarginLeft: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The left margin in inches. The default is 1 cm, or ~0.4 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_MarginLeft-Double-"></span><code>function <strong>Set_MarginLeft</strong>(MarginLeft: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Sets the `MarginLeft` property. A margin cannot be less than zero. Returns `E_INVALIDARG` if an invalid value is provided, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_MarginRight-Double-"></span><code>function <strong>Get_MarginRight</strong>(out MarginRight: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The right margin in inches. The default is 1 cm, or ~0.4 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_MarginRight-Double-"></span><code>function <strong>Set_MarginRight</strong>(MarginRight: Double): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set the `MarginRight` property.A margin cannot be less than zero. Returns `E_INVALIDARG` if an invalid value is provided, and the current value is not changed. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_ShouldPrintBackgrounds-Integer-"></span><code>function <strong>Get_ShouldPrintBackgrounds</strong>(out ShouldPrintBackgrounds: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 `TRUE` if background colors and images should be printed. The default value is `FALSE`. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_ShouldPrintBackgrounds-Integer-"></span><code>function <strong>Set_ShouldPrintBackgrounds</strong>(ShouldPrintBackgrounds: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set the `ShouldPrintBackgrounds` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_ShouldPrintSelectionOnly-Integer-"></span><code>function <strong>Get_ShouldPrintSelectionOnly</strong>(out ShouldPrintSelectionOnly: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 `TRUE` if only the current end user's selection of HTML in the document should be printed. The default value is `FALSE`. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_ShouldPrintSelectionOnly-Integer-"></span><code>function <strong>Set_ShouldPrintSelectionOnly</strong>(ShouldPrintSelectionOnly: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set the `ShouldPrintSelectionOnly` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_ShouldPrintHeaderAndFooter-Integer-"></span><code>function <strong>Get_ShouldPrintHeaderAndFooter</strong>(out ShouldPrintHeaderAndFooter: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 `TRUE` if header and footer should be printed. The default value is `FALSE`. The header consists of the date and time of printing, and the title of the page. The footer consists of the URI and page number. The height of the header and footer is 0.5 cm, or ~0.2 inches. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_ShouldPrintHeaderAndFooter-Integer-"></span><code>function <strong>Set_ShouldPrintHeaderAndFooter</strong>(ShouldPrintHeaderAndFooter: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set the `ShouldPrintHeaderAndFooter` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_HeaderTitle-PWideChar-"></span><code>function <strong>Get_HeaderTitle</strong>(out HeaderTitle: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The title in the header if `ShouldPrintHeaderAndFooter` is `TRUE`. The default value is the title of the current document.

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_HeaderTitle-PWideChar-"></span><code>function <strong>Set_HeaderTitle</strong>(HeaderTitle: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set the `HeaderTitle` property. If an empty string or null value is provided, no title is shown in the header. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Get_FooterUri-PWideChar-"></span><code>function <strong>Get_FooterUri</strong>(out FooterUri: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The URI in the footer if `ShouldPrintHeaderAndFooter` is `TRUE`. The default value is the current URI.

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Set_FooterUri-PWideChar-"></span><code>function <strong>Set_FooterUri</strong>(FooterUri: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Set the `FooterUri` property. If an empty string or null value is provided, no URI is shown in the footer. </p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
